package bcc.java8.chap12;

import java.time.LocalDate;
import java.time.LocalTime;

/**
 * .
 *
 * @author: bcc
 * 2021/1/29
 */
public class Test02LocalTime {
    public static void main(String[] args) {
        LocalTime time = LocalTime.of(13,44,29);
        System.out.println(time.getHour());
        System.out.println(time.getMinute());
        System.out.println(time.getSecond());

        LocalDate parse = LocalDate.parse("2024-03-18");
        System.out.println(parse);
        LocalTime parse1 = LocalTime.parse("06:08:03");
        System.out.println(parse1);
    }
}
